home *** CD-ROM | disk | FTP | other *** search
/ Business Shareware / Business Shareware.iso / start / gfxapps / pbmpl91d / pbmplus / man / rawtopgm.man < prev    next >
Text File  |  1993-01-08  |  1KB  |  67 lines

  1.  
  2.  
  3. rawtopgm(1)                Unix Programmer's Manual                rawtopgm(1)
  4.  
  5.  
  6. NAME
  7.      rawtopgm - convert raw grayscale bytes into a portable graymap
  8.  
  9. SYNOPSIS
  10.      rawtopgm [-headerskip N] [-rowskip N] width height [imagedata]
  11.                            -            -  ----- ------  ---------
  12.  
  13. DESCRIPTION
  14.      Reads raw grayscale bytes as  input.   Produces  a  portable  graymap  as
  15.      output.  The input file is just grayscale bytes.  You have to specify the
  16.      width and height on the command line, since the program  obviously  can't
  17.      get  them  from  the  file.   The  maxval  is  assumed to be 255.  If the
  18.      resulting image is upside down, run it through pnmflip -tb .
  19.  
  20. OPTIONS
  21.  
  22.      -headerskip
  23.           If the file has a header, you can use this flag to skip over it.
  24.  
  25.      -rowskip
  26.           If there is padding at the ends of the rows, you can  skip  it  with
  27.           this  flag.   Note  that rowskip can be a real number.  Amazingly, I
  28.           once had an image with 0.376 bytes of padding per row.  This  turned
  29.           out  to  be  due to a file-transfer problem, but I was still able to
  30.           read the image.
  31.  
  32. SEE ALSO
  33.      pgm(5), rawtoppm(1), pnmflip(1)
  34.  
  35. AUTHOR
  36.      Copyright (C) 1989 by Jef Poskanzer.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                15 December 89                                1
  66.  
  67.